package com.hxd.otc.dialog;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.flyco.dialog.widget.base.BaseDialog;
import com.hxd.otc.R;

/**
 * 包  名 :  com.hxd.otc.widget
 * 类  名 :  SuccessDialog
 * 作  者 :  卫广玉
 * 时  间 :  2018/6/12 17:10
 * 描  述 :  ${TODO}
 */
public class SuccessDialog extends BaseDialog<SuccessDialog> {

    private String mTitle;
    private TextView mTv_title;

    public SuccessDialog(Context context, String title) {
        super(context);
        mTitle = title;
    }

    @Override
    public View onCreateView() {
        View inflate = View.inflate(mContext, R.layout.view_common_dialog_success, null);
        mTv_title = inflate.findViewById(R.id.tv_title);
        mTv_title.setText(mTitle);
        return inflate;
    }

    @Override
    public void setUiBeforShow() {

    }

}
